#include "stdafx.h"
#include "ZRoot.h"
#include "ZPoolAllocator.h"
#include "ZUtility.h"

namespace	Z	{

//------------------------------------------------------------------------------------------------------------------------
template<>	Root*	Singleton<Root>::msSingleton	= nullptr;

Root::Root()
:	mPoolAllocator(new PoolAllocator)
{
}

Root::~Root()
{
	deletePtr(mPoolAllocator);
}

}